<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>重置密码</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="EXTENT_PATH/css/style.css"/>
	<link rel="stylesheet" type="text/css" href="EXTENT_PATH/css/pulicstyle.css"/>
	<script type="text/javascript" src="EXTENT_PATH/js/jquery.js"></script>
	<script type="text/javascript" src="EXTENT_PATH/js/jquery.form.js"></script>

</head>
<script type="text/javascript">
	$(document).ready(function() {
		$("#submit").click(function() {
			var newP = $("#newP").val();
			if (newP == '') {
				alert('请填写新密码');
				return false;
			} else {
				if (newP.length < 6) {
					alert('密码长度不能小于6');
					return false;
				}
				return true;
			}

		});
	});
</script>
<body>
	<center>
		<form action="resetpassword/ResetPassword" method="post">
			<div id="wrapper">
				<jsp:include page="../common/top.jsp"></jsp:include>
				<STRONG><h1>${requestScope.msg}</h1> </STRONG>
				<center>
					<table width="60%" border="0">
						<tr>
							<td><div align="right">新密码：</div></td>
							<td><div align="left">
									<input type="password" name="newP" id="newP" value=""
										class="inputindex" />
								</div></td>
						</tr>
						<tr>
						<td><div align="right"></div>
							</td>
							<td><div align="left">
									<input type=submit value="重置" name="Submit1" id="submit">
								</div>
							</td>
						</tr>
					</table>
					
				</center>
			</div>
		</form>
	</center>
</body>
</html>
